package com.yeyks.common.dto.mq;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class EsUpdateMessage {

    /**
     * hotel,room,calendar
     */
    private String type;
    /**
     * yyks,cn
     */
    private String sourceType;
    private List<String> sourceIds;

}
